//
//  HomeSubGrid5ViewController.m
//  QuLuoMianApp
//
//  Created by zyz on 2017/12/22.
//  Copyright © 2017年 科大讯飞. All rights reserved.
//

#import "HomeSubGrid5ViewController.h"
#import "BBSpaceViewController.h"

#import "HomeSubList2ViewController.h"
#import "HomeSubList3ViewController.h"
#import "HomeSubList4ViewController.h"

@interface HomeSubGrid5ViewController ()

@end

@implementation HomeSubGrid5ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.title = @"玩乐";
}


- (IBAction)jumpToSpaceVC:(UIButton *)sender {
    
    switch (sender.tag) {
        case 10:
        {
             HomeSubList2ViewController * subList2VC = [HomeSubList2ViewController new];
             [self.navigationController pushViewController:subList2VC animated:YES];
        }
            break;
        case 20:
        {
            HomeSubList3ViewController * subList3VC = [HomeSubList3ViewController new];
            [self.navigationController pushViewController:subList3VC animated:YES];
        }
            break;
        case 30:
        {
            HomeSubList4ViewController * subList4VC = [HomeSubList4ViewController new];
            [self.navigationController pushViewController:subList4VC animated:YES];
        }
            break;
            
        default:
            break;
    }
    
   
    
    
   
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
